package com.zito.health.service;

import com.zito.health.dto.LaboratoryDto;
import com.zito.health.dto.LaboratoryPrint1Dto;
import com.zito.health.dto.LaboratoryPrint2Dto;
import com.zito.health.entity.Laboratory;
import com.zito.health.entity.LaboratoryVo;
import com.zito.health.vo.LabCoordinateVo;

import java.util.List;

public interface LaboratoryService {

    public Laboratory save(Laboratory object);

    public void delete(Integer id);

    public void update(Laboratory object);

    public List<Laboratory> query();

    public List<LaboratoryDto> queryLaboratory(LaboratoryDto object);

    public List<Laboratory> query(Laboratory object);

    public Laboratory queryOne(Laboratory object);

    public Laboratory queryById(Integer id);

    public LaboratoryDto queryLaboratoryById(Integer id);

    public boolean exists(Integer id);

    public int deleteById(Integer id);

    public LaboratoryPrint1Dto print1(Integer id);

    public LaboratoryPrint2Dto print2(Integer id);

    List<LabCoordinateVo> getCoordinates(String labName);

    Integer getLabNum();

    LaboratoryVo getById(Integer id);

    List<LaboratoryDto> list4Archives(LaboratoryDto laboratoryDto);

    String canSubmit(Laboratory laboratory);
}
